package org.ctd.springframework.beans.exception.bean.fatal;

import com.sun.istack.internal.Nullable;
import org.ctd.springframework.beans.exception.bean.BeansException;

/**
 * FatalBeanException
 *
 * @author chentudong
 * @date 2020/9/11 16:14
 * @since 1.0
 */
public class FatalBeanException extends BeansException {
    /**
     * Create a new FatalBeanException with the specified message.
     * @param msg the detail message
     */
    public FatalBeanException(String msg) {
        super(msg);
    }

    /**
     * Create a new FatalBeanException with the specified message
     * and root cause.
     * @param msg the detail message
     * @param cause the root cause
     */
    public FatalBeanException(String msg, @Nullable Throwable cause) {
        super(msg, cause);
    }

}
